﻿using System.Text.Json;
using System.Text.Json.Serialization;
using Wen.Models.Entity;

namespace Wen.Core.Helps
{
    [JsonSourceGenerationOptions(WriteIndented = true, PropertyNameCaseInsensitive = true)]
    [JsonSerializable(typeof(SysUser))]
    [JsonSerializable(typeof(List<SysUser>))]
    [JsonSerializable(typeof(SysDict))]
    [JsonSerializable(typeof(List<SysDict>))]
    [JsonSerializable(typeof(SysFile))]
    [JsonSerializable(typeof(List<SysFile>))]
    [JsonSerializable(typeof(SysMenu))]
    [JsonSerializable(typeof(List<SysMenu>))]
    [JsonSerializable(typeof(SysRole))]
    [JsonSerializable(typeof(List<SysRole>))]
    [JsonSerializable(typeof(SysRoleMenu))]
    [JsonSerializable(typeof(List<SysRoleMenu>))]
    [JsonSerializable(typeof(SysUserRole))]
    [JsonSerializable(typeof(List<SysUserRole>))]
    public partial class SourceGenerationContext : JsonSerializerContext { }
}
